﻿#pragma once
#include "EditEntry.h"

class FontEditEntry : public EditEntry {
    Q_OBJECT
public:
    explicit FontEditEntry(QWidget *parent = nullptr);
    ~FontEditEntry();
    void setValue(const QFont &value);
    QFont value();

signals:
    void valueChanged(const QFont &value);

private:
    void initUi();
    void retranslateUi();

private:
    struct FontEditEntryPrivate;
    QScopedPointer<FontEditEntryPrivate> p;
};
